package com.mdd.common.entity;

import java.io.Serializable;
import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("店铺实体")
public class Shop implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value="id", type= IdType.AUTO)
    @ApiModelProperty(value = "主键ID")
    private Integer id;

    @ApiModelProperty(value = "用户店铺关联")
    private Integer userId;

    @ApiModelProperty(value = "店铺名称")
    private String name;

    @ApiModelProperty(value = "店铺logo")
    private String logo;

    @ApiModelProperty(value = "信用分")
    private Integer creditScore;

    @ApiModelProperty(value = "营业执照")
    private String businessLicense;

    @ApiModelProperty(value = "粉丝")
    private Integer fans;

    @ApiModelProperty(value = "店铺简介")
    private String remark;

    @ApiModelProperty(value = "店铺地址")
    private String extend;

    @ApiModelProperty(value = "联系电话")
    private String extend2;

    @ApiModelProperty(value = "创建时间")
    private Long createTime;

    @ApiModelProperty(value = "修改时间")
    private Long updateTime;

    @ApiModelProperty(value = "店铺状态 1=正常 2=关闭")
    private Integer status;
    
    private BigDecimal totalAmount;
    private BigDecimal freezeAmount;

}